﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WiresCorrection
{
    public partial class AngleInput : Form
    {
        public double ang = 0;
        public AngleInput()
        {
            InitializeComponent();
            displayAngle();

        }
        public void displayAngle()
        {
           textBoxAng.Text=ang.ToString();
            //      Dispose();
        }
        private void angle0_Click(object sender, EventArgs e)
        {
            ang = Convert.ToDouble(textBoxAng.Text);
      //      Dispose();
        }

        private void button1_Click(object sender, EventArgs e)
        {


            ang = Convert.ToDouble(textBoxAng.Text);

        }

        private void button2_Click(object sender, EventArgs e)
        {
            Dispose();
        }
    }
}
